﻿<Application x:Class="TTIServer.TTIServerClass"
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
    <Application.Resources>
			<ResourceDictionary>
				<ResourceDictionary.MergedDictionaries>
					<ResourceDictionary Source="pack://application:,,,/Fluent;Component/Themes/Office2010/Silver.xaml" />

				</ResourceDictionary.MergedDictionaries>
				<Style TargetType="{x:Type ComboBox}" x:Key="ComboBoxStyle">
					<Setter Property="Background" Value="#FF5584B4"/>
				</Style>
				<Style TargetType="ListBoxItem" x:Key="ComboBoxItemBG">
					<Setter Property="Opacity" Value="1" />
					<Setter Property="Background"	Value="#005584B4"/>
				</Style>
				<ControlTemplate x:Key="DTK2100_PTKX40_ComboBox" TargetType="{x:Type ComboBox}">
					<Grid Background="#FF5584B4">
						<Viewbox>
							<ContentControl Margin="5"></ContentControl>
						</Viewbox>
					</Grid>
				</ControlTemplate>
				<ControlTemplate x:Key="DTK2100_PTKX40_Button" TargetType="{x:Type Button}">
					<Grid Height="35" Background="Transparent">
						<Grid Margin="1"  x:Name="xTK_Background">
							<Grid.Background>
								<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
									<GradientStop Color="Black" Offset="0.259"/>
									<GradientStop Color="#FF9f9f9f"/>
								</LinearGradientBrush>
							</Grid.Background>
							<Viewbox>
								<ContentControl Margin="3" FontSize="8" FontFamily="Segoe" Content="{TemplateBinding Content}" Foreground="White"/>
							</Viewbox>
						</Grid>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="Button.IsPressed" Value="True">
							<Setter TargetName="xTK_Background" Property="Background">
								<Setter.Value>
									<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
										<GradientStop Color="Black" Offset="0.259"/>
										<GradientStop Color="#FF7f7f7f"/>
									</LinearGradientBrush>
								</Setter.Value>

							</Setter>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</ResourceDictionary>

		</Application.Resources>
</Application>
